//
//  DateChoose.h
//  Tourism
//
//  Created by apple on 14-6-20.
//  Copyright (c) 2014年 com.youyi. All rights reserved.
//时间选择器

#import <UIKit/UIKit.h>
@class DateModel;
@protocol DatePOPViewDelegate<NSObject>

-(void)ChooseDateModel:(DateModel*)model model2:(DateModel*)model2;

@end

@interface DatePOPView : UIView<UIPickerViewDataSource,UIPickerViewDelegate>
{
    UIView          *mainView;
    
    UIPickerView    *datePicker;
    
    UIPickerView    *datePicker2;
}
@property (nonatomic,weak) id<DatePOPViewDelegate>delegate;

/** 设置最多可以选择多少个月 */
@property (nonatomic,assign)NSInteger monthNum;

/** 设置第二个最多可以选择多少个月 */
@property (nonatomic,assign)NSInteger monthNum2;

/** 年月数据 */
@property (nonatomic,strong)NSMutableArray *dateArray;

/** 日期数据 */
@property (nonatomic,strong)NSMutableArray *dayArray;

/** 年月数据 */
@property (nonatomic,strong)NSMutableArray *dateArray2;

/** 日期数据 */
@property (nonatomic,strong)NSMutableArray *dayArray2;



@end